package com.zhangwei.yueshijia.presenter;

import com.zhangwei.yueshijia.api.BaseSubscriber;
import com.zhangwei.yueshijia.api.ExceptionHandle;
import com.zhangwei.yueshijia.base.BasePresenter;
import com.zhangwei.yueshijia.bean.BaseBean;
import com.zhangwei.yueshijia.bean.special.VirtualData;
import com.zhangwei.yueshijia.model.SpecialModel;
import com.zhangwei.yueshijia.view.impl.SpecialView;

import java.util.Map;


public class SpecialPresenter extends BasePresenter<SpecialView> {
    SpecialModel model;

    public SpecialPresenter() {
        this.model = new SpecialModel();
    }

    public void getspecialProgramaData(Map<String, String> pramas) {
        model.getSpecialData(pramas, new BaseSubscriber<BaseBean<VirtualData>>() {
            @Override
            public void onSuccess(BaseBean<VirtualData> data) {
            }

            @Override
            public void onFail(ExceptionHandle.ResponeThrowable e) {
                System.out.println();
            }

            @Override
            public void onFinish() {
            }
        });


    }


}
